package gov.chinatax.ctcps.generator.dao.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="ZJZF_SQMX"
 *     
*/
public class ZjzfSqmx implements Serializable {

    /** identifier field */
    private String mxbh;

    /** persistent field */
    private String nd;

    /** persistent field */
    private String xh;

    /** persistent field */
    private String jzzfzclxDm;

    /** persistent field */
    private String zffsDm;

    /** persistent field */
    private String yszbbh;

    /** persistent field */
    private String xmbh;

    /** persistent field */
    private String zhbh;

    /** persistent field */
    private BigDecimal sqje;

    /** nullable persistent field */
    private String jjflbh;

    /** persistent field */
    private BigDecimal czpfje;

    /** persistent field */
    private BigDecimal czbpfje;

    /** nullable persistent field */
    private String zgdwyjDm;

    /** nullable persistent field */
    private String czbyjDm;

    /** persistent field */
    private String spztDm;

    /** persistent field */
    private String hdqrztDm;

    /** nullable persistent field */
    private String qrsj;

    /** nullable persistent field */
    private String sqdbh;

    /** nullable persistent field */
    private String bz;

    /** nullable persistent field */
    private String zt1;

    /** nullable persistent field */
    private String zt2;

    /** nullable persistent field */
    private String yslyBm;
    /** nullable persistent field */
    private String mxxlh;
    
    

	/** full constructor */
    public ZjzfSqmx(String mxbh, String nd, String xh, String jzzfzclxDm, String zffsDm, String yszbbh, String xmbh, String zhbh, BigDecimal sqje, String jjflbh, BigDecimal czpfje, BigDecimal czbpfje, String zgdwyjDm, String czbyjDm, String spztDm, String hdqrztDm, String qrsj, String sqdbh, String bz, String zt1, String zt2,String yslyBm,String mxxlh) {
        this.mxbh = mxbh;
        this.nd = nd;
        this.xh = xh;
        this.jzzfzclxDm = jzzfzclxDm;
        this.zffsDm = zffsDm;
        this.yszbbh = yszbbh;
        this.xmbh = xmbh;
        this.zhbh = zhbh;
        this.sqje = sqje;
        this.jjflbh = jjflbh;
        this.czpfje = czpfje;
        this.czbpfje = czbpfje;
        this.zgdwyjDm = zgdwyjDm;
        this.czbyjDm = czbyjDm;
        this.spztDm = spztDm;
        this.hdqrztDm = hdqrztDm;
        this.qrsj = qrsj;
        this.sqdbh = sqdbh;
        this.bz = bz;
        this.zt1 = zt1;
        this.zt2 = zt2;
        this.yslyBm = yslyBm;
        this.mxxlh = mxxlh;
    }

    /** default constructor */
    public ZjzfSqmx() {
    }

    /** minimal constructor */
    public ZjzfSqmx(String mxbh, String nd, String xh, String jzzfzclxDm, String zffsDm, String yszbbh, String xmbh, String zhbh, BigDecimal sqje, BigDecimal czpfje, BigDecimal czbpfje, String spztDm, String hdqrztDm) {
        this.mxbh = mxbh;
        this.nd = nd;
        this.xh = xh;
        this.jzzfzclxDm = jzzfzclxDm;
        this.zffsDm = zffsDm;
        this.yszbbh = yszbbh;
        this.xmbh = xmbh;
        this.zhbh = zhbh;
        this.sqje = sqje;
        this.czpfje = czpfje;
        this.czbpfje = czbpfje;
        this.spztDm = spztDm;
        this.hdqrztDm = hdqrztDm;
    }

    /** 
     *            @hibernate.id
     *             generator-class="assigned"
     *             type="java.lang.String"
     *             column="MXBH"
     *         
     */
    public String getMxbh() {
        return this.mxbh;
    }

    public void setMxbh(String mxbh) {
        this.mxbh = mxbh;
    }

    /** 
     *            @hibernate.property
     *             column="ND"
     *             length="4"
     *             not-null="true"
     *         
     */
    public String getNd() {
        return this.nd;
    }

    public void setNd(String nd) {
        this.nd = nd;
    }

    /** 
     *            @hibernate.property
     *             column="XH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getXh() {
        return this.xh;
    }

    public void setXh(String xh) {
        this.xh = xh;
    }

    /** 
     *            @hibernate.property
     *             column="JZZFZCLX_DM"
     *             length="2"
     *             not-null="true"
     *         
     */
    public String getJzzfzclxDm() {
        return this.jzzfzclxDm;
    }

    public void setJzzfzclxDm(String jzzfzclxDm) {
        this.jzzfzclxDm = jzzfzclxDm;
    }

    /** 
     *            @hibernate.property
     *             column="ZFFS_DM"
     *             length="2"
     *             not-null="true"
     *         
     */
    public String getZffsDm() {
        return this.zffsDm;
    }

    public void setZffsDm(String zffsDm) {
        this.zffsDm = zffsDm;
    }

    /** 
     *            @hibernate.property
     *             column="YSZBBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getYszbbh() {
        return this.yszbbh;
    }

    public void setYszbbh(String yszbbh) {
        this.yszbbh = yszbbh;
    }

    /** 
     *            @hibernate.property
     *             column="XMBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getXmbh() {
        return this.xmbh;
    }

    public void setXmbh(String xmbh) {
        this.xmbh = xmbh;
    }

    /** 
     *            @hibernate.property
     *             column="ZHBH"
     *             length="50"
     *             not-null="true"
     *         
     */
    public String getZhbh() {
        return this.zhbh;
    }

    public void setZhbh(String zhbh) {
        this.zhbh = zhbh;
    }

    /** 
     *            @hibernate.property
     *             column="SQJE"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getSqje() {
        return this.sqje;
    }

    public void setSqje(BigDecimal sqje) {
        this.sqje = sqje;
    }

    /** 
     *            @hibernate.property
     *             column="JJFLBH"
     *             length="3"
     *         
     */
    public String getJjflbh() {
        return this.jjflbh;
    }

    public void setJjflbh(String jjflbh) {
        this.jjflbh = jjflbh;
    }

    /** 
     *            @hibernate.property
     *             column="CZPFJE"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getCzpfje() {
        return this.czpfje;
    }

    public void setCzpfje(BigDecimal czpfje) {
        this.czpfje = czpfje;
    }

    /** 
     *            @hibernate.property
     *             column="CZBPFJE"
     *             length="16"
     *             not-null="true"
     *         
     */
    public BigDecimal getCzbpfje() {
        return this.czbpfje;
    }

    public void setCzbpfje(BigDecimal czbpfje) {
        this.czbpfje = czbpfje;
    }

    /** 
     *            @hibernate.property
     *             column="ZGDWYJ_DM"
     *             length="2"
     *         
     */
    public String getZgdwyjDm() {
        return this.zgdwyjDm;
    }

    public void setZgdwyjDm(String zgdwyjDm) {
        this.zgdwyjDm = zgdwyjDm;
    }

    /** 
     *            @hibernate.property
     *             column="CZBYJ_DM"
     *             length="2"
     *         
     */
    public String getCzbyjDm() {
        return this.czbyjDm;
    }

    public void setCzbyjDm(String czbyjDm) {
        this.czbyjDm = czbyjDm;
    }

    /** 
     *            @hibernate.property
     *             column="SPZT_DM"
     *             length="2"
     *             not-null="true"
     *         
     */
    public String getSpztDm() {
        return this.spztDm;
    }

    public void setSpztDm(String spztDm) {
        this.spztDm = spztDm;
    }

    /** 
     *            @hibernate.property
     *             column="HDQRZT_DM"
     *             length="2"
     *             not-null="true"
     *         
     */
    public String getHdqrztDm() {
        return this.hdqrztDm;
    }

    public void setHdqrztDm(String hdqrztDm) {
        this.hdqrztDm = hdqrztDm;
    }

    /** 
     *            @hibernate.property
     *             column="QRSJ"
     *             length="14"
     *         
     */
    public String getQrsj() {
        return this.qrsj;
    }

    public void setQrsj(String qrsj) {
        this.qrsj = qrsj;
    }

    /** 
     *            @hibernate.property
     *             column="SQDBH"
     *             length="50"
     *         
     */
    public String getSqdbh() {
        return this.sqdbh;
    }

    public void setSqdbh(String sqdbh) {
        this.sqdbh = sqdbh;
    }

    /** 
     *            @hibernate.property
     *             column="BZ"
     *             length="400"
     *         
     */
    public String getBz() {
        return this.bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    /** 
     *            @hibernate.property
     *             column="ZT1"
     *             length="50"
     *         
     */
    public String getZt1() {
        return this.zt1;
    }

    public void setZt1(String zt1) {
        this.zt1 = zt1;
    }

    /** 
     *            @hibernate.property
     *             column="ZT2"
     *             length="50"
     *         
     */
    public String getZt2() {
        return this.zt2;
    }

    public void setZt2(String zt2) {
        this.zt2 = zt2;
    }
    /** 
     *            @hibernate.property
     *             column="YSLY_BM"
     *             length="2"
     *         
     */
    public String getYslyBm() {
		return yslyBm;
	}

	public void setYslyBm(String yslyBm) {
		this.yslyBm = yslyBm;
	}
    /** 
     *            @hibernate.property
     *             column="MXXLH"
     *             length="2"
     *         
     */
    public String getMxxlh() {
		return mxxlh;
	}

	public void setMxxlh(String mxxlh) {
		this.mxxlh = mxxlh;
	}

    public String toString() {
        return new ToStringBuilder(this)
            .append("mxbh", getMxbh())
            .toString();
    }

    public boolean equals(Object other) {
        if ( !(other instanceof ZjzfSqmx) ) return false;
        ZjzfSqmx castOther = (ZjzfSqmx) other;
        return new EqualsBuilder()
            .append(this.getMxbh(), castOther.getMxbh())
            .isEquals();
    }

    public int hashCode() {
        return new HashCodeBuilder()
            .append(getMxbh())
            .toHashCode();
    }

}
